package com.xxgc.vfc.modules.provider.info.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 学校
 * </p>
 *
 * @author 风清杨
 * @since 2023-11-07
 */
@Getter
@Setter
@TableName("vfc_school")
@ApiModel(value = "School对象", description = "学校")
public class School implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学校名称")
    private String schName;

    @ApiModelProperty("简介")
    private String schDesc;

    @ApiModelProperty("0是专科 1是1本 2是2本")
    private Integer levels;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("有效字段")
    @TableLogic
    private Boolean flag;
}
